<?php

namespace App\Kuafu\Export\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class ExportCodeEnum extends BaseCodeEnum
{
    public const ERR_CONFIG_PARAM = 415001;

    public const ERR_CONFIG_DB_ADD     = 515001;
    public const ERR_CONFIG_DB_SET     = 515002;
    public const ERR_CONFIG_DB_DEL     = 515003;
    public const ERR_CONFIG_PARAM_TYPE = 515004;
    public const ERR_CONFIG_ID_NULL    = 515005;

    public const ERR_EXPORT_ING = 515006;

    public const CODE_TEXT = [
        self::ERR_CONFIG_PARAM      => '参数错误',
        self::ERR_CONFIG_DB_ADD     => '新增失败',
        self::ERR_CONFIG_DB_SET     => '编辑失败',
        self::ERR_CONFIG_DB_DEL     => '删除失败',
        self::ERR_CONFIG_PARAM_TYPE => 'type不能为空',
        self::ERR_CONFIG_ID_NULL    => 'id不存在',
        self::ERR_EXPORT_ING        => '导出中',
    ];
}
